package com.jerry.hm.design.pattern.principle.demo2.after;

import lombok.Data;

/**
 * 矩形
 *
 * @author Jerry
 * @since 2025/8/30 15:27
 */
@Data
public class Rectangle implements Quadriliteral{

    private double length;

    private double width;

    @Override
    public double getLength() {
        return length;
    }

    @Override
    public double getWidth() {
        return width;
    }
}
